﻿using System;
using System.ServiceModel;

namespace WSU.Cheka.Data.Contracts
{
    [ServiceContract]
    public interface ILessonManager
    {
        [OperationContract]
        void Save(Lesson lesson);

        [OperationContract]
        Lesson Load(string name);

        [OperationContract]
        Lesson[] GetAll();
    }
}
